package niit.game;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;

public class WorldOfWarplanesActivity extends Activity implements
		OnClickListener {
	private ImageView ivNewgame, ivResume, ivOptions, ivHelp, ivAbout, ivExit;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		ivNewgame = (ImageView) findViewById(R.id.iv_newgame);
		ivResume = (ImageView) findViewById(R.id.iv_resume);
		ivOptions = (ImageView) findViewById(R.id.iv_options);
		ivHelp = (ImageView) findViewById(R.id.iv_help);
		ivAbout = (ImageView) findViewById(R.id.iv_about);
		ivExit = (ImageView) findViewById(R.id.iv_exit);
		ivNewgame.setOnClickListener(this);
		ivResume.setOnClickListener(this);
		ivOptions.setOnClickListener(this);
		ivHelp.setOnClickListener(this);
		ivAbout.setOnClickListener(this);
		ivExit.setOnClickListener(this);

	}

	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.iv_newgame:
			Intent intent = new Intent(WorldOfWarplanesActivity.this, Main.class);
			startActivity(intent);
			break;
		case R.id.iv_resume:

			break;
		case R.id.iv_options:

			break;
		case R.id.iv_help:

			break;
		case R.id.iv_about:

			break;
		case R.id.iv_exit:
			finish();

			break;

		default:
			break;
		}

	}
}